package com.yydm.servicecms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Classname CmsApplication
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/7/5 16:41
 * @Created by liu25
 */
@SpringBootApplication
@EnableDiscoveryClient //nacos注册
@ComponentScan(basePackages = "com.yydm")
@MapperScan("com.yydm.servicecms.mapper")
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class, args);
    }
}
